package com.sunlands.qdcy.tongzhuo.feign;

import com.sunlands.qdcy.tongzhuo.config.OauthFeignConfig;
import com.sunlands.qdcy.tongzhuo.vo.BusinessResult;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author gaoyanfeng
 * @create 2019-04-26 13:20
 **/
@FeignClient(value = "desk-mate-message", configuration = OauthFeignConfig.class)
public interface MessageService {
    @PostMapping("/message")
    BusinessResult sendMessage(@RequestBody MessageVO messageVO);
}
